<%@include file="taglib_includes.jsp" %>
<c:import url="header.jsp" />
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title><spring:message code="App.Title"></spring:message> </title>
<script type="text/javascript" src="js/contacts.js"></script>
</head>

	<input type="button" value="Nieuw merk toevoegen" onclick="javascript:go('saveMerk.htm');"/>
	<br/></br>
	<table style="border-collapse: collapse;" border="1" bordercolor="fff" width="800">
		<tr bgcolor="green">
			<th>Naam</th>			
			<th></th>
			<th></th>
		</tr>
		<c:if test="${empty alleMerken}">
		<tr>
			<td colspan="4">Geen resultaten gevonden.</td>
		</tr>
		</c:if>
		<c:if test="${! empty alleMerken}">
			<c:forEach var="merk" items="${alleMerken}">		
		    <tr>
				<td><c:out value="${merk.naam}"></c:out></td>
				<td><a href="updateMerk.htm?id=${merk.merkId}">Wijzigen</a></td>
				<td><a href="javascript:deleteMerk('deleteMerk.htm?id=${merk.merkId}');">Verwijderen</a></td>
			</tr>
			</c:forEach>
		</c:if>				
	</table>	
	</center>
		
<c:import url="footer.jsp" />